
ip1 = map(int, '191.153.128.0'.split('.'))

ip2 = map(int, '255.255.248.0'.split('.'))


ip1 = [f'{ip:b}'.rjust(8, '0') for ip in ip1]
ip2 = [f'{ip:b}'.rjust(8, '0') for ip in ip2]


print('узел =', *ip1)
print('маска =', *ip2)


# маска = 11111111 11111111 11111000 00000000
# узел =  10111111 10011001 10000000 00000000
# сеть =  10111111 10011001 10000000 00000000


# сеть =   191       153        128      0
#           G         E          C       D


#ответ 64